package rsexplorer.utils;

import java.lang.reflect.Field;

public interface FieldFilter {
    /**
     * Invoked before a primitive or system field object is added.
     */
    boolean shouldFilterPrimitive(Object object);

    /**
     * Invoked before an application object class is added.
     */
    boolean shouldFilterObject(Object object);

    /**
     * Invoked before an array object is added.
     */
    boolean shouldFilterArray(Object object);

    /**
     * Invoked before a field is added.
     */
    boolean shouldFilterField(Field field);
}